import 'package:flutter/material.dart';

class AppBars extends AppBar{
  AppBars({
    super.key,
    required String title,
    required BuildContext context
  }) : super(
      backgroundColor: const Color.fromARGB(255, 100, 203, 184),
      title: Text(title),
      leading: IconButton(
        icon: const Icon(Icons.arrow_back),
        onPressed: ()=> Navigator.of(context).pop(),
      )
  );
}